package com.xx;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.PropertySource;
import springfox.documentation.swagger2.annotations.EnableSwagger2;


@SpringBootApplication
@ServletComponentScan
@PropertySource("classpath:manager.properties")
@ComponentScan(basePackages = { "com.xx"})
@EnableSwagger2
public class StartSpringBootService {
    public static void main(String[] args) {
        SpringApplication.run(StartSpringBootService.class, args);
    }
}
